//
// phpGetLongLat(theAddress)
//
// Example using SOAP web services to convert a postal address to coordinates
// See http://geocoder.us/help/ for more details of that particular service
//
// Returns:
//      longitude
//      latitude
Let (
	[
		$theAddress = theAddress;

		phpCode = "error_reporting(0); //E_ALL & ~E_NOTICE);¶
		¶
		$theAddress = fm_evaluate('$theAddress');¶
		¶
		$soap = new SoapClient('http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl');¶
		$lookup = $soap->geocode($theAddress);¶
		¶
		echo $lookup[0]->long . \"\r\" . $lookup[0]->lat;¶
	  "
	] ;
	PHP_Execute(phpCode)
)
